// 宽高
.wh(@width, @height) {
  width: @width;
  height: @height;
}

// 字体大小，颜色
.sc(@size, @color) {
  font-size: @size;
  color: @color;
}
// 盒子布局
.flex (@flex: row, @justify-content: space-between, @align-item: center) {
  display: flex;
  flex-direction: @flex;
  align-items: @align-item;
  justify-content: @justify-content;
}

.child-wrapper(@index:200) {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #ffffff;
  z-index: @index;
}

.overflow-ellipsis() {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.boxSizing {
  box-sizing: border-box;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.justify-content-around {
  justify-content: space-around;
}

.flex-wrap {
  flex-wrap: wrap;
}

.position-fixed {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.tx-blue {
  color: #208cff;
}

.tx-green {
  color: #a6a6a6;
}

.tx-orange {
  color: #e65733;
}

.bg-white {
  background-color: #ffffff;
}

.bg-origin {
  background: #fe8f00;
}
